package com.gitee.mazhenggg.mall.point.mybatis.builder;


import com.gitee.mazhenggg.mall.point.domain.entity.Point;
import com.gitee.mazhenggg.mall.point.mybatis.pojo.PointDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface PointDOBuilder {
    PointDOBuilder INSTANCE = Mappers.getMapper(PointDOBuilder.class);

    Point toPoint(PointDO pointDO);
    PointDO fromPoint(Point point);
}
